Average word length |
---|
9.2276 |
word length | percentage |
---|---|
1 | 0.0351 |
2 | 0.3674 |
3 | 1.6736 |
4 | 3.8700 |
5 | 6.9729 |
6 | 8.6396 |
7 | 11.2815 |
8 | 12.6194 |
9 | 12.8424 |
10 | 11.3887 |
11 | 9.2740 |
12 | 6.9956 |
13 | 5.0263 |
14 | 3.5228 |
15 | 2.4354 |
16 | 1.7395 |
17 | 1.2687 |
18 | 0.8552 |
19 | 0.6649 |
20 | 0.5141 |
21 | 0.3784 |
22 | 0.2734 |
23 | 0.1970 |
24 | 0.1421 |
25 | 0.1112 |
26 | 0.0760 |
27 | 0.0602 |
28 | 0.0529 |
29 | 0.0421 |
30 | 0.0297 |
In this subsection we ignore the fact that words have different frequencies. So for the average word length, each word is considered equally. For a fixed word length, we count the number of different words having this length.
The plot of the word length against the number of words of this length usually has a clear maximum between 10 and 15. Moreover, with a logarithmic scale of the y-axis, we get a nearly linear part between length 15 and 40.
Average word length is one of the classic parameters for a language.
Counting without multiplicity makes average word length depending on the corpus size. A larger corpus contains more words, and the additional words are usually longer. Hence, average word length should increase with corpus size.
Average word length:
select avg(char_length(word)) from words where w_id>100;;
Data for large table:
SELECT @all:=count(*) from words where w_id>100;
select char_length(word), 100*count(*)/@all from words where w_id>100 group by char_length;
Do we have the linear part between 15 and 40 for (nearly) all languages?
Where does it come from?
Calculate and compare the slope!
3.5.1.2 Words by Length with multiplicity